﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace U01_boke
{
    /// <summary>
    /// 自定义异常结果类
    /// </summary>
    public class ResultException : Exception
    {
        public ResultException(string message)
            : base(message)
        {

        }
        public ResultException(string message, int status)
            : base(message)
        {
            this.status = status;
        }
        /// <summary>
        /// 自定义状态码
        /// </summary>
        public int status { get; set; }
    }
}